﻿
   <UserControl x:Class="Lottery.Client.SL.Controls.OnlineStatusControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignWidth="100" d:DesignHeight="100">

    <UserControl.Resources>
        <Storyboard x:Name="Storyboard_Light" Duration="0:0:1" RepeatBehavior="Forever" AutoReverse="True">
            <ColorAnimation To="White" Storyboard.TargetProperty="Color" Storyboard.TargetName="LightGradientStop" />
            <ColorAnimation To="Lime" Storyboard.TargetProperty="Color" Storyboard.TargetName="InGradientStop" />
        </Storyboard>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot">
        <Ellipse Stroke="Black"/>
        <Ellipse Stroke="Gray" Margin="1" StrokeThickness="2"/>
        <Ellipse Margin="3">
            <Ellipse.Fill>
                <RadialGradientBrush>
                    <GradientStop x:Name="LightGradientStop" Color="White" Offset="0"/>
                    <GradientStop x:Name="InGradientStop" Color="Gray" Offset="0.6"/>
                    <GradientStop x:Name="OutGradientStop" Color="Black" Offset="1"/>
                </RadialGradientBrush>
            </Ellipse.Fill>
        </Ellipse>
    </Grid>
</UserControl>
